package com.hzhr.iot.user.dao.mapper.custom;

import com.hzhr.iot.user.entity.CompanyEntity;
import com.hzhr.iot.user.entity.ext.CompanyEntityExt;
import com.hzhr.iot.user.queryModel.custom.CompanyCustomQueryModel;

import java.util.List;

public interface CompanyEntityCustomMapper {
    //批量新增
    int insertBatch(List<CompanyEntity> recordList);
    //批量更新
    int updateBatch(List<CompanyEntity> recordList);
    //批量更新
    int updateBatchSelective(List<CompanyEntity> recordList);
    //通用查询
    List<CompanyEntityExt> selectExt(CompanyCustomQueryModel queryModel);
    //通用查询数量
    int selectCount(CompanyCustomQueryModel queryModel);
    //通用修改属性
    int updateProps(CompanyCustomQueryModel queryModel);
    //通用删除
    int delete(CompanyCustomQueryModel queryModel);

    //自定义查询
    List<CompanyEntityExt> selectName(CompanyCustomQueryModel queryModel);
}
